Platform Explorer / Nuxeo Platform 2021.7

Operation Document.PublishToSection (Publish Document)

Description

Publish the input document into the target section. Existing proxy is overrided if the override attribute is set. Return the created proxy.
Operation id Document.PublishToSection
AliasesDocument.Publish
Category Document
Label Publish Document
Requires
Since

Parameters

Name Description Type Required Default value
target document yes  
override boolean no true 

Signature

Inputs document, documents
Outputs document, documents

Implementation Information

Implementation Class Class: org.nuxeo.ecm.automation.core.operations.document.PublishDocument
Contributing Component org.nuxeo.ecm.core.automation.coreContrib

JSON Definition

{
  "id" : "Document.PublishToSection",
  "aliases" : [ "Document.Publish" ],
  "label" : "Publish Document",
  "category" : "Document",
  "requires" : null,
  "description" : "Publish the input document into the target section. Existing proxy is overrided if the override attribute is set. Return the created proxy.",
  "url" : "Document.PublishToSection",
  "signature" : [ "document", "document", "documents", "documents" ],
  "params" : [ {
    "name" : "target",
    "description" : null,
    "type" : "document",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "override",
    "description" : null,
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ "true" ]
  } ]
}